import axios from '@/untils/request'
// 获取文章列表数据
/**
 *
 * @param {*} id
 * @param {*} timestamp
 * @returns
 */
export function getArticleList(id, timestamp) {
  return axios({
    url: '/v1_0/articles',

    // get请求方式,数据写在params中
    params: {
      channel_id: id,
      timestamp
    }
  })
}
